/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package edu.gatech.egg.l0cUs.service;

import edu.gatech.egg.l0cUs.domain.Configuration;
import org.springframework.transaction.annotation.Transactional;

/**
 *
 * @author summerspittman
 */
public interface ConfigurationDao {

    /**
     * There should really be only one config.
     *  If there isn't one in the database, the
     * default implementation will create one.
     */
    public Configuration getConfiguration();

/**
 *
 * Saves the provided configuration
 */
    @Transactional
    public void persist(Configuration config);
}
